﻿///***************************************************************
/// 시  스  템 : Updms.Crd.Exe
/// 단위시스템 : CRD
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Crd3010p_NT
/// 파  일  명 : Crd3010p_NT.cs
/// 설      명 : 카드대쉬보드
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-08-11 송시명   최초 작성
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Crd.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Crd3010p_NT : Base.AppFramework.RuleBase
	{
		public Crd3010p_NT()
		{
		}

		#region GetImportantItemList
		/// <summary>
		/// 주요아이템
		/// </summary>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetImportantItemList()
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p())
			{
				return _dac.GetImportantItemList();
			}
		}

		#endregion

		#region GetAccountList

		/// <summary>
		/// 계정별 리스트
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetAccountList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p())
			{
				return _dac.GetAccountList(lo_dp);
			}
		}
		
		#endregion

		#region GetAccountDetailList

		/// <summary>
		/// 계정별 상세리스트
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetAccountDetailList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p())
			{
				return _dac.GetAccountDetailList(lo_dp);
			}
		}

		#endregion

		#region GetMonthlyTotalAmtListOnDashboard

		/// <summary>
		/// 결제총액리스트 (대시보드용)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetMonthlyTotalAmtListOnDashboard(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd3010p())
			{
				return _dac.GetMonthlyTotalAmtListOnDashboard(lo_dp);
			}
		}

		#endregion
	}
}
